package com.terrace.db.system.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.terrace.db.system.mapper.entity.Lang;

public interface LangDao {
	
	public int saveLangSelective(Lang lang);

	public int deleteLangById(Integer langId);

	public int updateLangByIdSelective(Lang lang);

	public Lang selectLangById(Integer langId);
	
	public List<Lang> selectLangForPagination(Lang lang);
	
	/**
	 * 查询常用语根据键值和类型
	 * @param langKey
	 * @param langType
	 * @return
	 */
	public Lang selectLangContentByKey(@Param("langKey") String langKey, @Param("langType") String langType);

}